export default {
	initSDK() {
		return new Promise((resolve, reject) => {
			uni.invoke('com.example.ScanSDK', 'vbarOpen', {}, (res) => {
				if (res.code === 0) {
					resolve(res.code)
				} else {
					reject(res.errorMsg)
				}
			})
		})
	}
}